import Vue from 'vue';
import App from './App';

Vue.config.productionTip = false;



function setUnreadNumber (content) {
	let unreadTotal = content.unreadTotal;
	if(unreadTotal > 0) {
		uni.setTabBarBadge({
			index: 1,
			text: unreadTotal.toString()
		});
	}else{
		uni.removeTabBarBadge({index: 1});
	}
}


App.mpType = 'app';
const app = new Vue({
    ...App
});
app.$mount();
